<template>
  <div>
    <table-info :item="item" :names="names" :title="'学生信息表'" :imgUrl="'http://element-cn.eleme.io/static/hamburger.50e4091.png'" :hasimg="true"></table-info>
  </div>
</template>

<script>
import tableInfo from "@/components/InfoTemplate";
export default {
  components: {
    tableInfo
  },
  data() {
    return {
      item: {
        id: 1,
        name: "张三",
        age: 18,
        address:'江苏南通',
        hobby:'coding',
        school:'南通大学'
      },
      names: ["编号", "姓名", "年龄","家庭住址","爱好","毕业院校"]
    };
  }
};
</script>

<style scoped>

</style>
